LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-13-2005, 11:29 AM   #1
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
GENTOO - "init=/linuxrc" (/linuxrc: not found | kernel panic!!)


I'm finishing up my stage 3 install.. it's so wonderful to see it all start coming together..i hope to do a stage 1 at home once i get more comfortable.. this is on my notebook, that's why i did a stage 3...

anyways.. i have finished setting up grub and everything.. it comes up with both Gentoo and Windows.. and selecting gentoo starts loading the kernel.. then I get errors about /linuxrc not being found and whatnot..

i didn't do anything with that other than add "init=/linuxrc" to the kernel loader in grub.conf

i was following the x86-quickinstall guide..and i also looked through the handbook and couldn't figure what i need to do..

someone please help, or point me to the necessary docs..

it's not a big dealto fix becausei can just chroot into it using the liveCD.. i just need to kow if there's something i need to emerge or what?
 
Old 01-13-2005, 08:33 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
What did you write down?Form the handbook
Code:
genkernel all

Once genkernel completes, a kernel, full set of modules and initial root disk (initrd) will be created. We will use the kernel and initrd when configuring a boot loader later in this document. Write down the names of the kernel and initrd as you will need it when writing the bootloader configuration file. The initrd will be started immediately after booting to perform hardware autodetection (just like on the Live CD) before your "real" system starts up.
Also if you could post your /boot/grub/grub.conf that would help.Did you emerge hotplug and coldplug and add them to the default runlevel?
Also you need /dev/ram0 in your kernel line something like this for genkernel;
Code:
title=Gentoo Linux 2.4.26-r9
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3
initrd /initrd-2.4.26-gentoo-r9

Last edited by comprookie2000; 01-13-2005 at 08:43 PM.
 
Old 01-13-2005, 08:40 PM   #3
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Original Poster
Rep: Reputation: 45
here's my grub.conf:
Code:
default 0 
timeout 30 
splashimage=(hd0,3)/grub/splash.xpm.gz 

title=Gentoo 
  root (hd0,3) 
  kernel /kernel-2.6.10-gentoo-r4 root=/dev/ram0 init=/linuxrc real_root=/dev/hda4 
  initrd /initrd-2.6.10-gentoo-r4 

title=Windows 
  rootnoverify (hd0,0) 
  makeactive 
  chainloader +1
No i did not emerge hotplug or coldplug.. actually I was just following the directions for the
x86-quickinstall... which will get a booting system up.. which is all i want.. then I'll do
everything else..
 
Old 01-13-2005, 08:56 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
I would cd /usr/src/linux make menuconfig and select * for your filesystem and drives (compile support directly into the kernel and select M for your soundcard and ethernet card and anything else you want then make && make_modules install then make install.The kernel will be vmlinuz then I emerge udev emerge hotplug and emerge coldplug and add them to the default runlevel rc-update add hotplug default then rc-update add coldplug default,that is if you can't get genkernel to boot.I have never used genkernel so can't help much,good luck
 
Old 01-13-2005, 09:16 PM   #5
Ryujin
LQ Newbie
 
Registered: Oct 2004
Posts: 18

Rep: Reputation: 0
I had the same prob, if worse comes to worse try a stage 1, fixed it for me. It isn't hard at all, you just have like 3 more lines of code and one more file to config.
 
Old 01-14-2005, 08:06 AM   #6
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Original Poster
Rep: Reputation: 45
doesn't a stage 1 take like well over a week?? I tried a stage 2 a few months back.. but got too busy with work to keep going.. I spent like 3 days on it...

I don't know, perhaps I will try a stage 1 later... I just really would like to get this working... thanks for the help...
 
Old 01-14-2005, 01:03 PM   #7
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Original Poster
Rep: Reputation: 45
i fixed it.. the "real_root" section should have been going towards /dev/hda2 rather than hda4...

I am now booted up, and currently compiling Xorg.. thanks for the help guys..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Kernel panic - not syncing: No init found." rwhite7890 Linux - General 6 06-26-2005 05:13 AM
"kernel panic : no init found " error with user-mode-linux tuxfood Linux - Software 2 05-06-2005 03:29 PM
"Kernel panic: no init found..." garnetlion Slackware 2 05-22-2004 05:10 AM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM
Zipslack getting "Kernel panic: no init found. Try passing init= option to kernel" Sam Hobbs Linux - Newbie 4 03-28-2002 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration